<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>{{data.title|capitalize}}</h1>
    <h2>{{data.title|upper}}</h2>
    <h3>{{data.title|lower}}</h3>
    <h4>{{data.title|length}}</h4>


    {% if data.user.is_admin %}
          <button>解约</button>
          <strong>只有管理员可以操作</strong>
    {% elif data.user.is_moderator %}
          <span>版主</span>
    {% else %}
          <strong>普通用户选项</strong>
    {% endif %}

    <br/>

    <ul>
       {% for item in data.list_01 %}
          <li>{{item}}</li>
       {% endfor %}
    </ul>
</body>
</html>